.modal-body ::ng-deep{
    .clr-form-control {
        margin-top: 0px;
    }
}
.card::ng-deep{
    .list-group {
        .list-group-item {
            &.border {
                border-bottom: none !important;
                .btnPrimary {
                    background-color: #2572A3;
                    color: #fff;
                }
            }
            &.bottom {
                border: none;
                .info {
                    display: flex;
                    min-width: 300px;
                    align-items: center;
                    justify-content: space-between;
                }
            }
            &.top {
                border: none;
                border: none;
                .info {
                    display: flex;
                    min-width: 300px;
                    align-items: center;
                    justify-content: space-between;
                }
            }
            &.json-textarea {
                display: flex;
                .left {
                    width: 50%;
                    .clr-textarea {
                        width: 100%;
                        max-width: 100%;
                        height: 300px;
                    }
                    .app-high {
                        width: calc(100% - 15px);
                        margin-left:15px;
                        height: 300px;
                        box-sizing: border-box;
                        overflow: auto;
                        border: 1px solid #b3b3b3; 
                        border-radius: 2px;                     
                    }
                }
                .right {
                    width: 50%;
                    height: 800px;
                    margin-top: 10px;
                    position: relative;
                    z-index: 99;
                    .program  {
                        width: 100%;
                        height: 800px;
                        list-style-type: none;
                        .svg-canvas {
                            margin: 0 auto;
                        }
                    }                
                }
            }
        }    
    }
} 
.drag-session {
    height: 820px;
    display: flex;
    flex: 1;
    position: relative;
    .component::ng-deep {
        border: 1px solid #333;
        width: 240px;
        margin-right: 10px;
        overflow: auto;
        .angle-h5 {
            margin-top: 0px;
            position: relative;
            z-index: 1;
            border-bottom: 1px solid #ddd;
            color: #666;
            overflow:hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            &.bac {
                background-color: #D8E3E9;
            }
        }
        .angle-p {
            margin-top: 0px;
            padding-left: 20px;
            color: #777;
            border-bottom: 1px solid #ddd;
            cursor: move;
        }
        .angle {
            transform: rotate(90deg);
            background-color: transparent;
        }
        .show {
            opacity: 1;
            .cdk-drag  {
                height: 25px;
            }
        }
        .hidden {
            opacity: 0;
            .cdk-drag  {
                height: 0px;
            }
        }

    }
    .attrbutes::ng-deep {
        width: 280px;
        border: 1px solid #333;
        overflow: auto;
        position: relative;
        h4 {
            margin-top: 20px;
            font-size: 16px;
            text-align: center;
        }
        .radio::ng-deep {
            display: block;
            width: 260px;

            margin: 0px auto;
            .clr-control-container {
                justify-content: space-between;
                padding: 0px;
                max-width: 100%;
                .clr-radio-wrapper {
                    label {
                        width: 90px;
                        padding-left: 20px;
                        word-break: normal;
                    }
                }
            }
        }
        .btn-group {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            .bgc {
                background-color: #2572A3;
                color: #fff;
            }
            .plus {
                width:40px;
                min-width: 40px;
                padding: 0px;
            }
        }
        .clr-control-label {
            padding: 0;
            font-weight: normal;
            width: 100px;
            &.radio-label {
                padding-left: 25px;
            }
        
        }
        input {
            width: 100%;
        }
        .clr-form {
            text-align: left;
        }
    }
    .textare {
        flex: 1;
        min-width: 900px;
        border: 1px solid #333;
        padding-top: 32px;
        margin-right: 10px;
        overflow: auto;
        position: relative;
    }
    .zoom {
        position: absolute;
        left: 255px;
        top: 2px;
        z-index: 99;
        button {
            width: 30px;
            height: 30px;
            border: none;
            margin-right: 10px;
            background: url(../../../assets/zoom.png) -3px;
            background-size: cover;
            &:nth-of-type(2) {
                background: url(../../../assets/zoom.png) -37px;
                background-size: cover;
            }
        }
        
    }
}
.text-area::ng-deep{
    padding: 0 20px;
    .tab-content {
        .clr-form-control {
            margin-top: 0px;
            padding: 0 10px;
            display: block;
            .clr-control-label {
                width: 0px;
                margin: 0px;
                flex:0;
            }
\        
            .clr-control-container {
                display: block;
                padding: 0px;
                max-width: 100%;
                .clr-textarea {
                    width: 100%;
                    height: 100px;
                    overflow: auto;
                    background-color: rgba(239, 239, 239, 0.3);
                    margin-bottom: 8px;
                }
            }
        }
        .textarea {
            width: 100%;
            height: 100px;
            margin-top: 8px;
            padding: 8px 12px;
            border-radius: 2px;
            overflow: auto;
            background-color: rgba(239, 239, 239, 0.3);
        }
    }
  }
.modal {
    .modal-content {
        width: 800px;
        .plus-circle{
            float: none;
        }
        .input-item {
            border: 1px solid #666;
            padding-left: 15px;
            padding-bottom: 10px;
        }
        .title {
            span {
                display: inline-block;
                width: 300px;
                font-weight: 700;
                margin-bottom: 10px;
            }
        }
        .opt {
            display: flex;
            label {
                width: 46px;
            }
            span {
                display: inline-block;
                border-bottom: 1px solid;
            }
            .trash  {
                position: relative;
                top: 16px;
            }
            .select-item {
                position: relative;
                &.module {
                    width: 300px;
                }
                &.module::ng-deep {
                    label {
                        width: auto;
                        margin-right: 5px;
                    }
                    .clr-form-control {
                        margin-right: 10px;
                        .clr-select-wrapper {
                            width: 100px;
                            .clr-select {
                                width: 100px;
                            }
                        }
                    }
                }
                &:last-of-type {
                    width:auto
                }
            }
            .plus-circle {
                position: relative;
                top: 8px;
            }
        }
        .btns {
            display: flex;
            justify-content: flex-end;
        }
    }
}
.clr-control-container-select {
    &::ng-deep {
        label {
            width: 0px;
            margin: 0px;
            max-width: 0px;
            &.clr-control-label {
                width: 0px;
                margin: 0px;
                max-width: 0px;
            }
        }
    }
}